package com.shop.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import com.baomidou.mybatisplus.extension.service.IService;
import com.shop.pojo.wms.Wms_Purchase;
import com.shop.utils.CaiGouVo;

import com.shop.pojo.ums.Ums_Member;
import com.shop.pojo.wms.Wms_Purchase;
import com.shop.pojo.wms.Wms_Ware_Info;

import com.shop.utils.LayuiUtils;
import com.shop.utils.R;

import java.util.List;

/**
 * 采购单—李贝贝
 */
public interface Wms_Purchase_Service extends IService<Wms_Purchase> {


    /**
     * 后台合并采购单
     * @param caiGouVo
     * @return
     */
    R CaiGou_admin_HeBIn_All(CaiGouVo caiGouVo);

    /**
     * 显示所有采购单
     */
    LayuiUtils<Wms_Purchase> find_all_pruchase(Page<Wms_Purchase> pages, Wms_Purchase wms_purchase);

    /**
     * 新增采购单
     * @param wms_purchase
     * @return
     */
    R insert_purchase(Wms_Purchase wms_purchase);

    /**
     * 删除采购单
     * @param id
     * @return
     */
    R delete_purchase(List<Long> id);

    /**
     * 修改采购单
     * @param wms_purchase
     * @return
     */
    R update_purchase(Wms_Purchase wms_purchase);

    /**
     * 获取用户 用来分配采购单
     * @return
     */
   // List<Ums_Member> find_admin_ums_member_All();
}
